package com.pubinfo.passbook.common.service.master.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pubinfo.passbook.common.entity.TSubsidiaryInfo;
import com.pubinfo.passbook.common.model.dto.system.SubsidiaryPrivateKey;
import com.pubinfo.passbook.common.service.master.TSubsidiaryInfoService;
import com.pubinfo.passbook.common.mapper.TSubsidiaryInfoMapper;
import org.springframework.stereotype.Service;

/**
 *
 */
@Service
public class TSubsidiaryInfoServiceImpl extends ServiceImpl<TSubsidiaryInfoMapper, TSubsidiaryInfo>
    implements TSubsidiaryInfoService {
  
  @Override
  public IPage<TSubsidiaryInfo> listSubsidiaryInfo(SubsidiaryPrivateKey paramObj) {
    
    IPage<TSubsidiaryInfo> iPage = page(paramObj.getPage("name"));
    return this.baseMapper.listTSubsidiaryInfo(iPage, paramObj);
  }
}




